
<div class="ui-widget ui-widget-content ui-helper-clearfix ui-corner-all">
    <div class="portlet-header ui-widget-header center">Informasi Anda</div>
    <div class="portlet-content">
        <div id="loginbox">
            <div id="msgbox"></div>
            <br>
            <div class="response-msg inf ui-corner-all">
               <?php if ($this->authniter->isMemberOf(1)) : ?>
                    <p>IP Adress:<br><b><?php echo $this->session->userdata('ip_address')?></b></p>
                    <p>Browser:<br><b><?php echo $this->agent->browser()." ".$this->agent->version()?></b></p>
                    <p>Sistem Operasi<br><b><?php echo $this->agent->platform()?></b></p>
                <?php elseif($this->authniter->isMemberOf(2) ): ?>
                    <?php 
                        $sekolah_id = (int)$this->authniter->getProfilId();
                        $sekolah = $this->referensi->get_sekolah($sekolah_id);
                    ?>
                    <p><b><?php echo $sekolah['nama_sekolah']?></b>
                    <br><b><?php echo $sekolah['alamat']?></b>
                    <br><b><?php echo $sekolah['telepon']?></b>
                    <br><b><?php echo $sekolah['email']?></b>
                    <br><b><?php echo $sekolah['website']?></b></p>
                    
                <?php endif ?>
            </div>
        </div>
    </div>
</div>
